Factor Graph Optimization For Gnss/Ins Integration: A Comparison With The Extended Kalman Filter